﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ThaireInvestmentWeb.WcfSerivce;

namespace ThaireInvestmentWeb.Models
{
    public class EquityPriceAdapter
    {
        private EquityPrice _item;
        private int _number;

        public EquityPriceAdapter(int number, EquityPrice price)
        {
            _item = price;
            _number = number;
        }

        public int? EquityHeaderID { get { return _item.EquityHeaderID; } }
        public virtual int No { get { return _number; } }
        public virtual string Type { get { return _item.TypePrice; } }
        public virtual DateTime? PriceDate { get { return _item.PriceDate; } }
        public virtual decimal? Price { get { return _item.Price; } }
       
    }
}